<?php


/**
 * APP接口路由
 */


//项目路由
$router->post('project/index', 'ProjectController@getIndex');
$router->post('project/add', 'ProjectController@setAdd');
$router->post('project/detail', 'ProjectController@setDetail');
$router->post('project/one', 'ProjectController@getOne');
//管理员路由
$router->post('admin/index', 'AdminController@getIndex');
$router->post('admin/add', 'AdminController@setAdd');
$router->post('admin/nickname', 'AdminController@setNickname');
$router->post('admin/pwd', 'AdminController@setPwdUpdate');
$router->post('admin/onebytoken', 'AdminController@getInfoByToken');
$router->post('login', 'AdminController@setLogin');
$router->post('admin/one', 'AdminController@getOne');
$router->post('admin/modify', 'AdminController@setUpdate');
//BUG路由
$router->post('bug/index', 'BugController@getIndex');
$router->post('bug/add', 'BugController@setAdd');
$router->post('bug/one', 'BugController@getOne');
$router->post('bug/deal/index', 'BugDealController@getIndex');
$router->post('bug/history', 'BugController@getHistory');
//APP版本
$router->post('version/index', 'AppVersionController@getIndex');
$router->post('version/new', 'AppVersionController@getNewOne');
//更多应用
$router->post('more/index', 'MoreController@getIndex');
//应用文件
$router->post('more/file/index', 'MoreFileController@getIndex');